hisilicon-opensdk: wire hi3520dv200 (replace 4 vendor blobs with source-built)#2109
Merged
Merged
Conversation
Bump openhisilicon to 55b72ec — adds the hi3520dv200 source mirror plus the gpio_i2c include-path fix for nvp6134c. hi3520dv200_lite now builds open_mmz / open_hi_user / open_gpioi2c / open_nvp6134_ex from source and installs them into /lib/modules/3.0.8/hisilicon/ with vendor names, overriding the matching blobs in hisilicon-osdrv-hi3520dv200. The MPP video pipeline (hi3520D_base/sys/viu/vpss/vou/venc/...) stays as vendor blobs since vendor never released V2 MPP source. Smoke-tested on the lab DVR (10.216.128.33): firmware flashes via sysupgrade, lsmod shows the vendor MPP blobs binding to our source-built open_mmz (mmz allocator) and open_hi_user across all relevant slots, dvr_home demo runs cleanly against the source-built modules. Userspace libraries side is a no-op for now — opensdk's libraries/ tree has no hi3520dv200 SUBDIRS filter yet, so we short-circuit the BUILD_CMDS to skip it. Lifts when userspace mirror lands. Refs OpenIPC/openhisilicon#51 (umbrella tracker).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wire hi3520dv200 into hisilicon-opensdk for the first time. The matching source mirror landed upstream in openipc/openhisilicon#163 + #164.
Replaces 4 of the modules in /lib/modules/3.0.8/hisilicon/ — the ones load_hisilicon actually `insmod`s today — with versions built from vendor V2 source:
The MPP video pipeline (hi3520D_base/sys/viu/vpss/vou/venc/...) stays as pre-built blobs in hisilicon-osdrv-hi3520dv200 — vendor never released V2 MPP source. Other extdrv source (tw286x, cx26828, tlv*, ssp) is built but not installed yet (load_hisilicon doesn't insmod them, so leaving disk footprint untouched).
Userspace libraries (libraries/) is a no-op for hi3520dv200 for now — the opensdk libraries/Makefile has no SUBDIRS filter for this CHIPARCH yet, so we short-circuit the BUILD_CMDS to skip it. Lifts when a userspace mirror lands.
Test plan
Notes